﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data.Entity;
using SQLite.CodeFirst;

namespace WeManageService
{
    public class User
    {
        [Key, Column(Order = 1)]
        //public int UserID { get; set; }
        public string UserName { get; set; }
        public string PassWord { get; set; }
        public bool Remember { get; set; }
        public bool AutoLogin { get; set; }
		public int Score { get; set; }
        public User() { }
        public User(string UserName, string PassWord)
        {
            this.UserName = UserName;
            this.PassWord = PassWord;
            this.Remember = false;
            this.AutoLogin = false;
			this.Score = 0;
        }
    }
}
